which

suspend fun which(tool: String): String?
suspend fun which(tool: Path): Path?

Get the location of a tool, or null if it can't be found.